<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑题目</title>
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <h1>编辑题目</h1>
    <form method="POST">
    <label for="text">题目内容:</label><br>
    <textarea id="text" name="question_text">{{ question.question_text }}</textarea><br><br>

    <label for="option_a">选项A:</label>
    <input type="text" id="option_a" name="option_a" value="{{ question.option_a }}"><br><br>

    <label for="option_b">选项B:</label>
    <input type="text" id="option_b" name="option_b" value="{{ question.option_b }}"><br><br>

    <label for="option_c">选项C:</label>
    <input type="text" id="option_c" name="option_c" value="{{ question.option_c }}"><br><br>

    <label for="option_d">选项D:</label>
    <input type="text" id="option_d" name="option_d" value="{{ question.option_d }}"><br><br>

    <label for="correct_answer">正确答案:</label>
    <input type="text" id="correct_answer" name="correct_answer" value="{{ question.correct_answer }}"><br><br>


    <input type="submit" value="保存">
</form>
</body>
</html>